| 测试地址 | http://47.97.84.212:3000/ |
|---|---|
| 执行账号 | admin / 111111 |
| 工具 | Playwright (无头) |
| 开始时间 | 2026-02-24 11:22:26 |
| 结束时间 | 2026-02-24 11:30:33 |
| 总耗时 | 7m 58s (累计用例耗时) |
| 用例编号 | 用例名称 | 结果 | 耗时 | 开始时间 | 截图 |
|---|---|---|---|---|---|
| TC-PTM-001 | 列表页展示与字段校验 | 通过 | 7s | 2026-02-24 11:22:26 | |
| TC-PTM-002 | 默认每页20条 | 通过 | 6s | 2026-02-24 11:22:34 | |
| TC-PTM-003 | 筛选(解决方式) | 通过 | 8s | 2026-02-24 11:22:40 | |
| TC-PTM-004 | 筛选(是否可用) | 失败 | 8s | 2026-02-24 11:22:48 | |
| TC-PTM-005 | 编码模糊查询 | 失败 | 36s | 2026-02-24 11:22:57 | |
| TC-PTM-006 | 备注悬停显示全文 | 失败 | 43s | 2026-02-24 11:23:36 | |
| TC-PTM-007 | 新增问题类型(手动编码) | 通过 | 12s | 2026-02-24 11:24:21 | |
| TC-PTM-008 | 新增问题类型(自动编码) | 通过 | 13s | 2026-02-24 11:24:34 | |
| TC-PTM-009 | 查询(名称+编码组合) | 通过 | 7s | 2026-02-24 11:24:47 | |
| TC-PTM-010 | 重置查询恢复列表 | 通过 | 7s | 2026-02-24 11:24:54 | |
| TC-PTM-011 | 删除后刷新不再显示 | 失败 | 1m 33s | 2026-02-24 11:25:01 | |
| TC-PTM-012 | 编辑备注刷新后保持 | 失败 | 35s | 2026-02-24 11:26:35 | |
| TC-PTM-013 | 启用/禁用刷新后保持 | 失败 | 11s | 2026-02-24 11:27:11 | |
| TC-PTM-014 | 必填校验(名称、解决方式) | 通过 | 8s | 2026-02-24 11:27:22 | |
| TC-PTM-015 | 重复编码校验 | 通过 | 10s | 2026-02-24 11:27:30 | |
| TC-PTM-016 | 复制问题类型 | 通过 | 15s | 2026-02-24 11:27:40 | |
| TC-PTM-017 | 查询(名称与编码) | 通过 | 13s | 2026-02-24 11:27:55 | |
| TC-PTM-018 | 查询无结果空态 | 通过 | 7s | 2026-02-24 11:28:08 | |
| TC-PTM-019 | 分页与每页条数 | 通过 | 7s | 2026-02-24 11:28:15 | |
| TC-PTM-020 | 详情编辑备注 | 通过 | 26s | 2026-02-24 11:28:22 | |
| TC-PTM-021 | 启用/禁用切换 | 通过 | 10s | 2026-02-24 11:28:48 | |
| TC-PTM-022 | 删除问题类型 | 通过 | 20s | 2026-02-24 11:28:58 | |
| TC-PTM-023 | 新增后刷新列表页数据仍存在 | 失败 | 38s | 2026-02-24 11:29:18 | |
| TC-PTM-024 | 新增后刷新查询仍存在 | 失败 | 37s | 2026-02-24 11:29:56 |
| 用例编号 | 用例名称 | 路径/页面 | 复现步骤 | 测试数据 | 期望 vs 实际 | 错误摘要 | 证据 |
|---|---|---|---|---|---|---|---|
| TC-PTM-004 | 筛选(是否可用) | /problem-closed-loop-management/problem-type-management | 进入列表页→选择是否可用=是→查询→校验列表开关均为开启 | 是否可用=是 | 期望:[32m"[7mtru[27me"[39m 实际:[31m"[7mfals[27me"[39m |
错误:断言(received).toBe(断言ed) // Object.is equality断言ed: "true"实际: "false" | 追踪: E:\宝洁\test3\test-results\tests-problem-type-managem-8cda6-lter-by-availability-status\trace.zip 视频: E:\宝洁\test3\test-results\tests-problem-type-managem-8cda6-lter-by-availability-status\video.webm |
| TC-PTM-005 | 编码模糊查询 | /problem-closed-loop-management/problem-type-management/create → /problem-closed-loop-management/problem-type-management | 新增一条编码QTxxxxx数据→返回列表→输入编码前缀→查询→结果包含新数据 | 编码前缀查询(QTxxxxx) | 期望:visible |
错误:断言(locator).可见断言() failedLocator: locator('.ant-table-tbody > tr, .ant-table-row, table tbody tr, .rdg-row, [role="row"]:not(.rdg-header-row)').filter({ hasText: '自动化模糊编码-490861' }).first()断言ed: visibleTimeout: 15000msError: element(s) not foundCall log: - 断言 "可见断言" with timeout 15000ms - waiting for locator('.ant-table-tbody > tr, .ant-table-row, table tbody tr, .rdg-row, [role="row"]:not(.rdg-header-row)').filter({ hasText: '自动化模糊编码-490861' }).first() | 追踪: E:\宝洁\test3\test-results\tests-problem-type-managem-e9c1e-search-by-problem-type-code\trace.zip 视频: E:\宝洁\test3\test-results\tests-problem-type-managem-e9c1e-search-by-problem-type-code\video.webm |
| TC-PTM-006 | 备注悬停显示全文 | /problem-closed-loop-management/problem-type-management/create → /problem-closed-loop-management/problem-type-management | 新增带长备注数据→列表查询→备注列悬停→显示全文 | 备注=长文本 | 期望:visible |
错误:断言(locator).可见断言() failedLocator: locator('.ant-table-tbody > tr, table tbody tr, .rdg-row:not(.rdg-header-row), [role="row"]:has([role="gridcell"])').filter({ hasText: '自动化备注悬浮-630741' }).first()断言ed: visibleTimeout: 30000msError: element(s) not foundCall log: - 断言 "可见断言" with timeout 30000ms - waiting for locator('.ant-table-tbody > tr, table tbody tr, .rdg-row:not(.rdg-header-row), [role="row"]:has([role="gridcell"])').filter({ hasText: '自动化备注悬浮-630741' }).first() | 追踪: E:\宝洁\test3\test-results\tests-problem-type-managem-917b4-rk-shows-full-text-on-hover\trace.zip 视频: E:\宝洁\test3\test-results\tests-problem-type-managem-917b4-rk-shows-full-text-on-hover\video.webm |
| TC-PTM-011 | 删除后刷新不再显示 | /problem-closed-loop-management/problem-type-management | 删除一条数据→刷新页面→按名称/编码查询不应存在 | 列表最后一条数据 | - | 超时错误:元素等待: 超时(15000ms).Call log: - waiting for locator('input#code, input#name, button:has-text("查询"), button[h-icon="add"]').first() to be visible | 追踪: E:\宝洁\test3\test-results\tests-problem-type-managem-9b3a7-resh-no-longer-shows-record\trace.zip 视频: E:\宝洁\test3\test-results\tests-problem-type-managem-9b3a7-resh-no-longer-shows-record\video.webm |
| TC-PTM-012 | 编辑备注刷新后保持 | /problem-closed-loop-management/problem-type-management | 详情页编辑备注→保存→返回列表→刷新→再次查看备注 | 备注=刷新备注-随机 | - | 超时错误:元素输入: 超时(10000ms).Call log: - waiting for locator('textarea#remark, textarea[placeholder*="备注"], input[placeholder*="备注"]').first() | |
| TC-PTM-013 | 启用/禁用刷新后保持 | /problem-closed-loop-management/problem-type-management | 启用/禁用切换→刷新页面→校验状态保持 | 列表最后一条数据 | 期望:not [32m"true"[39m |
错误:断言(received).不等断言(断言ed) // Object.is equality断言ed: not "true" | |
| TC-PTM-023 | 新增后刷新列表页数据仍存在 | /problem-closed-loop-management/problem-type-management | 新增数据→返回列表→刷新页面→查询新增数据 | 名称=自动化刷新列表-随机 | 期望:visible |
错误:断言(locator).可见断言() failedLocator: locator('.ant-table-tbody > tr, .ant-table-row, table tbody tr, .rdg-row, [role="row"]:not(.rdg-header-row)').filter({ hasText: '自动化刷新列表-673727' }).first()断言ed: visibleTimeout: 15000msError: element(s) not foundCall log: - 断言 "可见断言" with timeout 15000ms - waiting for locator('.ant-table-tbody > tr, .ant-table-row, table tbody tr, .rdg-row, [role="row"]:not(.rdg-header-row)').filter({ hasText: '自动化刷新列表-673727' }).first() | |
| TC-PTM-024 | 新增后刷新查询仍存在 | /problem-closed-loop-management/problem-type-management | 新增数据→查询确认存在→刷新页面→再次查询 | 名称=自动化刷新校验-随机 | 期望:visible |
错误:断言(locator).可见断言() failedLocator: locator('.ant-table-tbody > tr, .ant-table-row, table tbody tr, .rdg-row, [role="row"]:not(.rdg-header-row)').filter({ hasText: '自动化刷新校验-306249' }).first()断言ed: visibleTimeout: 15000msError: element(s) not foundCall log: - 断言 "可见断言" with timeout 15000ms - waiting for locator('.ant-table-tbody > tr, .ant-table-row, table tbody tr, .rdg-row, [role="row"]:not(.rdg-header-row)').filter({ hasText: '自动化刷新校验-306249' }).first() |